import request from '../utils/request'
export default {
    //分页查询文档
    getDocList(params){
        return request({
            method: 'get',
            url: '/documents/page',
            params
        })
    },
    //分页查询图片
    getPicList(params){
        return request({
            method: 'get',
            url: '/picture/page',
            params
        })
    },
    //分页查询音频
    async getAudioList(params){
        return await request({
            method: 'get',
            url : '/audio/page',
            params
        })
    },
    //分页查询视频
    getVideoList(params){
        return request({
            method: 'get',
            url:'/video/page',
            params
        })
    }


}